﻿import Box2D 2.0
import QtQuick 2.0

/*
  This body places 32-pixel wide invisible static bodies around the screen,
  to avoid stuff getting out.
*/
Item {
    //world: physicsWorld

    RectangleBoxBody {
        color: "orange"
        y: screen.height-32
        width: screen.width
        height: 32
        world: physicsWorld
    }
    RectangleBoxBody {
        color: "orange"
//        y: -32
        height: 32
        width: screen.width
        world: physicsWorld
    }
    RectangleBoxBody {
        color: "orange"
//        x: -32
        width: 32
        height: screen.height
        world: physicsWorld
    }
    RectangleBoxBody {
        color: "orange"
        x: screen.width-32
        width: 32
        height: screen.height
        world: physicsWorld
    }
}
